using Bogus;
using ef_core_2025_learn.Entity;

namespace ef_core_2025_learn;

public class DataGenerator
{
    public static void Seed(MyBoardsContent content)
    {
        var addressGenerator = new Faker<Address>()
            .RuleFor(address => address.City, faker => faker.Address.City())
            .RuleFor(address => address.Country, faker => faker.Address.Country())
            .RuleFor(address => address.PostalCode, faker => faker.Address.ZipCode())
            .RuleFor(address => address.Street, faker => faker.Address.StreetName());

        var address = addressGenerator.Generate();

        Console.WriteLine();
    }
}